package io.sage.modules.statistics.service;

import java.util.List;
import java.util.Map;

import io.sage.modules.statistics.entity.BStatisticsSoilWater;
import io.sage.modules.statistics.vo.BStatisVo;

public interface BStatisticsSoilWaterService {

	/**
	 * 土壤列表
	 * @param example
	 * @return
	 */
	List<BStatisticsSoilWater> selectStatisticsSoilWaterList(Map<String, Object> params);

	BStatisticsSoilWater selectById(Integer id);

	int deleteBatchIds(Integer[] ids);

	/**
	 * 添加单条传感器土壤水分数据
	 * @param goods
	 * @return
	 */
	int insert(String soilData);

	/**
	 * 批量添加传感器的土壤含水量
	 * @param list
	 * @return
	 */
	int saveSoilWaterList(List<BStatisticsSoilWater> list);

	/**
	 * 根据库房id查询记录
	 * @param params
	 * @return
	 */
	List<BStatisVo> selectListByWarehouseId(Map params);

}
